//
//  Goal.h
//  tp1-gti350
//
//  Created by Coulon-Hamelin, Alexandre on 13-09-19.
//  Copyright (c) 2013 Coulon-Hamelin, Alexandre. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Player.h"
#import "Team.h"

@interface Goal : NSObject

@property (nonatomic) Player *scorer;
@property (nonatomic) Player *pass1;
@property (nonatomic) Player *pass2;
@property (nonatomic) int period;
@property (nonatomic) Team *team;

-(id) initWithTeam:(Team*)team AndPeriod:(int) period AndScorer:(Player*) scorer;
-(NSString *) getFormatedString;

@end
